from django.urls import path, include, re_path
from django.views.static import serve
from . import views
from django.conf import settings
from django.conf.urls.static import static

app_name = 'wulabapp'

urlpatterns = [
    # 主页
    path('add_article/', views.add_article, name='add_article'),
    path('get_articles/', views.get_articles, name='get_articles'),
    path('update_article/', views.update_article, name='update_article'),
    path('add_software/', views.add_software, name='add_software'),
    path('get_softwares/', views.get_softwares, name='get_softwares'),
    path('update_software/', views.update_software, name='update_software'),
    path('send_email/', views.send_email, name='send_email'),

    path('add_education_url/', views.add_education_url, name='add_education_url'),
    path('get_education_urls/', views.get_education_urls, name='get_education_urls'),
    path('add_news/', views.add_news, name='add_news'),
    path('get_news/', views.get_news, name='get_news'),
    path('update_news/', views.update_news, name='update_news'),
]
